﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Eqwww.Domain.Models.SystemManage;

namespace Eqwww.Web.Areas.SystemManage.Models.Module
{
    public class ModuleProfile : Profile
    {
        public ModuleProfile()
        {
            CreateMap<ModuleModel, CreateViewModel>()
                .ReverseMap();
            CreateMap<ModuleModel, EditViewModel>();
            CreateMap<EditViewModel,ModuleModel>();
        }

    }

}
